package com.copa.module.order.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.copa.utils.OrderSnUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author copa
 * @createDate 2021-01-25 12:01
 * @function
 */
@Data
public class OrderAddVo {

    @ApiModelProperty(value = "订单编号")
    private String orderSn = OrderSnUtils.getOrderSn();

    @ApiModelProperty(value = "地址id")
    private Long addressId;

    @ApiModelProperty(value = "订单价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "下单时间")
    private LocalDateTime orderTime = LocalDateTime.now();

    @ApiModelProperty(value = "用户备注")
    private String userRemark;

    private List<Long> cartIds;
}
